import turtle as t
t.bgcolor("black")
sides = eval(t.textinput("大小输入","请输入大小（2到6）"))
colors = ["red","yellow","blue","orange","green","purple"]
for x in range(360):
    t.pencolor(colors[x%sides])
    t.fd(x * 3/sides + x)
    t.left(360/sides + 1)
    t.width(x * sides/200)
